package com.server.questionbank.snframe.config.verificationCode;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class SmsCodeConfig {
    @Value("${verificationCode.smsCode.accessKeyId}")
    private String accessKeyId;
    @Value("${verificationCode.smsCode.accessKeySecret}")
    private String accessKeySecret;
    @Value("${verificationCode.smsCode.signName}")
    private String signName;
    @Value("${verificationCode.smsCode.templateCode}")
    private String templateCode;
    @Value("${verificationCode.smsCode.codeLength}")
    private int codeLength;
    @Value("${verificationCode.smsCode.character}")
    private String character;
    @Value("${verificationCode.smsCode.expiration}")
    private int expiration;
    @Value("${verificationCode.smsCode.ipSendInterval}")
    private int ipSendInterval;
    @Value("${verificationCode.smsCode.phoneSendInterval}")
    private int phoneSendInterval;
}